import { createRouter, createWebHistory } from 'vue-router'
import LayoutAI from '@/components/layoutAI.vue'
import ChatBox from '@/components/chat/ChatBox.vue'
import ActivityManager from '@/components/activity/ActivityManager.vue'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'layoutAI',
      component: LayoutAI,
      redirect:'/chat',
      children:[{
      path: '/chat',
      name: 'chat',
      component: ChatBox ,
    },
    {
      path: '/activity',
      name: 'activity',
      component:  ActivityManager,
    },]
    },
     
  ],
})

export default router
